package com.quectel.cms.vo.thirdconfig;


import com.quectel.cms.controller.BaseController;
import com.quectel.core.module.thirdconfig.dto.item.BaiduBCE;
import com.quectel.core.module.thirdconfig.dto.item.Sms;
import com.quectel.core.module.thirdconfig.dto.item.WechatOfficial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author caolu
 * @email louis.cao@quectel.com
 * @date 2022/05/09 10:59
 */
@Data
@Schema
@EqualsAndHashCode(callSuper=true)
public class ThirdPlatformConfigVo extends BaseController {
    /**
     * 平台类型
     *
     * @see com.quectel.constant.core.thirdplatformconfig.ThirdPlatformConfigConstants.PlatformType
     */

    private Integer type;

    /**
     * 全段配置的值
     */
    private Item values;

    @Data
    public static class Item {
        /**
         * type==1
         */
        private Sms sms;
        /**
         * type==2
         */
        private WechatOfficial wechatOfficial;

        /**
         * type==3
         */
        private BaiduBCE baidubce;
    }
}
